// 导入封装好的网络请求类工具
import request from '../../../utils/request';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);

//查询已经评价的表--分页查询
export const SelectCementQualityeValueByCondition = (searchModel, current, pageSize) => {
    return request({
        url: `/cementqualityevalue/selectCementQualityeValueByCondition/${current}/${pageSize}`,
        method: 'post',
        data: searchModel
    })
}

//查询出所有的井名
export const GetAllWellNames = () => {
    return request({
        url: `/well/getAllWellNames`,
        method: 'get',
    })
}

//模糊查询是否有该井
export const GetWellNamesByWord = (word) => {
    return request({
        url: `/well/getWellNamesByWord/${word}`,
        method: 'get',
    })
}

//通过井名查询井的基本信息
export const GetWellByWellName = (wellName) => {
    return request({
        url: `/well/getWellByWellName/${wellName}`,
        method: 'get',
    })
}

//新增井评价数据
export const CementqualityevalueAdd = (form) => {
    return request({
        url: `/cementqualityevalue/cementqualityevalueAdd`,
        method: 'post',
        data: form
    })
}